package annotation.student.annotaion;

import java.lang.annotation.*;
import java.lang.reflect.Field;

import static java.lang.annotation.ElementType.FIELD;

/**
 * @author 标记
 * @date 2021/2/4
 */
@Target(FIELD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface StudentInfo {

    public int id() default -1;

    public String studentClass() default "三年级二班";

}
